<script src='{$base_dir}js/jquery.tablesorter.pager.js' type='text/javascript' ></script>
<script src='{$base_dir}js/AJAX_Queue.js' type='text/javascript' ></script>

<script type='text/javascript'>
	{literal}	
	$(document).ready(function () {
		activeMenu('2', '7');
		viewCashierQueue();	
		$('table#table_inline_encounter_queue').tablesorter();	
		$('table#table_inprogress_encounter_queue').tablesorter();		
	});
	{/literal}
</script>

<div id='main_queue'>
	<table cellpadding='0' cellspacing='0'>
		<tr>
			<td>
				<div id='reload' style='display:none; width: 100px;'>
					<a href='javascript:viewCashierQueue();' title='{translate}Update list of patients{/translate}'><img src='{$base_uri}/images/refresh.png'/></a>						
				</div>
				<div id='innerLoading' style='display:block; width: 100px;'>
					<img src='{$base_uri}/images/ajax-loader.gif'/>
				</div>
			</td>
		</tr>			
	</table>					
								
	<div id='inline_encounter_queue' class='queue'>		
		<!-- {include file='main/big_element_paging.html'} -->
		<div class='documentListHeader'>
			<span> {translate}List of patients are waiting{/translate} </span>
		</div>
		<table id='table_inline_encounter_queue' cellspacing='0' cellpadding='0' class='grid' style='width: 100%'>
			<thead>						
				<tr>
					<th>{translate}Order number{/translate}</th>
					<th>{translate}Patient_1{/translate}</th>
					<th>{translate}Patient's ID_1{/translate}</th>					
					<th>{translate}Service{/translate}</th>	
					<th>{translate}Type{/translate}</th>						
					<th>{translate}Waiting time_1{/translate}</th>
					<th>&nbsp;</th>																
				</tr>	
			<thead>
			<tbody>
			</tbody>	
		</table>				
	</div>
		
	<div id='inprogress_encounter_queue' class='queue'>
		<div class='documentListHeader'>
			<span>{translate}Collecting fee{/translate}</span>
		</div>			
		<table id='table_inprogress_encounter_queue' cellspacing='0' cellpadding='0' class='grid' style='width: 100%'>
			<thead>						
				<tr>
					<th>{translate}Order number{/translate}</th>
					<th>{translate}Patient_1{/translate}</th>
					<th>{translate}Patient's ID_1{/translate}</th>							
					<th>{translate}Service{/translate}</th>	
					<th>{translate}Type{/translate}</th>		
					<th>{translate}Time get pay{/translate}</th>
					<th>{translate}Cashier{/translate}</th>																	
				</tr>
			</thead>
			<tbody>
			</tbody>
		</table>				
	</div>				
				
</div>	

	